# Analysis of Stylesheet Execution Time

Total time: 517.020 milliseconds

## Time spent in each template or function:

The table below is ordered by the total net time spent in the template or function. Gross time means the time including called templates and functions; net time means time excluding time spent in called templates and functions.

file | line | instruction | count | average time (gross) | total time (gross) | average time (net) | total time (net)
--- | --- | --- | --- | --- | --- | --- | ---
"*path-adder.xsl" | 32 | template * | 2791 | 0.633 | 1766.543 | 0.119 | 332.606
"*-functions.xsl" | 84 | function ia-func:getBSTopicByGid | 35 | 0.379 | 13.253 | 0.379 | 13.253
"*path-adder.xsl" | 20 | template *[contains(@class, ' topic/topic ')] | 35 | 30.056 | 1051.967 | 0.239 | 8.362
"*-functions.xsl" | 330 | function ia-func:cutParentDirRelativeCommands | 2 | 2.118 | 4.236 | 2.118 | 4.236
"*path-adder.xsl" | 16 | template / | 1 | 356.643 | 356.643 | 2.293 | 2.293
"*-functions.xsl" | 296 | function ia-func:preserveTrailingParentDirRelativeCommands | 2 | 2.980 | 5.960 | 0.829 | 1.657
"*-functions.xsl" | 345 | function ia-func:removeRelativeCommands | 2 | 3.753 | 7.506 | 0.771 | 1.541
"*-functions.xsl" | 673 | function ia-func:getParameter | 2 | 0.732 | 1.464 | 0.732 | 1.464
"*-functions.xsl" | 161 | function ia-func:correct-file-url | 2 | 4.601 | 9.203 | 0.255 | 0.511
"*-functions.xsl" | 231 | function ia-func:remove-slash-duplicates | 2 | 0.265 | 0.530 | 0.231 | 0.462
"*-functions.xsl" | 184 | function ia-func:correct-file-url | 2 | 4.312 | 8.623 | 0.203 | 0.405
"*-functions.xsl" | 81 | function ia-func:getBSTopicByGid | 35 | 0.382 | 13.383 | 0.004 | 0.129
"*-functions.xsl" | 157 | function ia-func:is-relative-path | 2 | 0.060 | 0.120 | 0.060 | 0.120
"*-functions.xsl" | 164 | function ia-func:correct-file-url | 2 | 4.346 | 8.692 | 0.030 | 0.059
"*-functions.xsl" | 289 | function ia-func:collapse-slashes | 2 | 0.029 | 0.059 | 0.029 | 0.059
"*-functions.xsl" | 316 | function ia-func:cutCurrentDirRelativeCommands | 2 | 0.022 | 0.044 | 0.022 | 0.044
"*-functions.xsl" | 150 | function ia-func:is-relative-path | 2 | 0.074 | 0.149 | 0.015 | 0.029
"*-functions.xsl" | 228 | function ia-func:remove-slash-duplicates | 2 | 0.277 | 0.553 | 0.011 | 0.023
"*-functions.xsl" | 669 | function ia-func:getParameter | 2 | 0.738 | 1.477 | 0.006 | 0.013
"*-functions.xsl" | 313 | function ia-func:cutCurrentDirRelativeCommands | 2 | 0.028 | 0.055 | 0.006 | 0.011
"*-functions.xsl" | 322 | function ia-func:cutParentDirRelativeCommands | 2 | 2.124 | 4.247 | 0.005 | 0.011
"*-functions.xsl" | 339 | function ia-func:removeRelativeCommands | 2 | 3.758 | 7.516 | 0.005 | 0.010
"*-functions.xsl" | 284 | function ia-func:collapse-slashes | 2 | 0.034 | 0.068 | 0.005 | 0.009
"*-functions.xsl" | 180 | function ia-func:correct-file-url | 2 | 4.316 | 8.632 | 0.005 | 0.009
"*-functions.xsl" | 293 | function ia-func:preserveTrailingParentDirRelativeCommands | 2 | 2.982 | 5.965 | 0.003 | 0.005